var express = require('express');
var router = express.Router();
const user = require('../controller/UserController');

/**
 * 用户管理模块路由
 */

router.get('/users', user.list);
router.post('/users', user.save);

module.exports = router;
